import http from '../http';

//table 分页列表
export function navigation4List(params) {
    return http({
        url: '/problem/list',
        method: "post",
        params: params
    })
}

//table 新增/修改
export function navigation4AddEdit(data) {
    return http({
        url: '/problem/save',
        method: "post",
        data: data
    })
}

//table 删除
export function navigation4Del(data) {
    return http({
        url: '/problem/delete',
        method: "post",
        data: data
    })
}

export function taskPublishTask(data) {
    return http({
        url: '/task/publishTask',
        method: "post",
        data: data
    })
}

export function taskAll(data) {
    return http({
        url: '/task/all',
        method: "post",
        params: data
    })
}

export function problemReassign(data) {
    return http({
        url: '/problem/reassign',
        method: "post",
        data: data
    })
}

export function problemCheck(data) {
    return http({
        url: '/problem/check',
        method: "post",
        data: data
    })
}
